package com.dabaozhan.modules.wx_app.service.impl;

import com.dabaozhan.modules.wx_app.dao.SysCategoryMapper;
import com.dabaozhan.modules.wx_app.entity.SysCategoryEntity;
import com.dabaozhan.modules.wx_app.service.SysCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author houzhong
 * @date 2019-01-09 16:03
 */

@Service("sysCategoryService")
public class SysCategoryServiceImpl implements SysCategoryService {

    @Autowired
    private SysCategoryMapper sysCategoryMapper;

    @Override
    public List<SysCategoryEntity> findListSysCategory() {
        return sysCategoryMapper.findListSysCategory();
    }

    @Override
    public List<SysCategoryEntity> findSysCategory() {
        return sysCategoryMapper.findSysCategory();
    }
}
